home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
printing
/
rlpr-1.000
/
rlpr-1
/
rlpr-1.13
/
INSTALL
< prev
next >
Wrap
Text File
|
1996-06-30
|
5KB
|
158 lines
This is a public release of rlpr 1.13
$Id: INSTALL,v 1.3 1996/07/01 01:03:51 meem Exp $
For details on getting started with rlpr please see the accompanying README
Please report any bugs, suggestions, etc, to meem@gnu.ai.mit.edu
Copyright (c) 1996 meem, meem@gnu.ai.mit.edu
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 1, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
INSTALLATION INSTRUCTIONS
=========================
There are different instructions depending on whether you are a
sysadmin installing the rlpr client, or a mortal user installing the
rlpr client (and maybe the rlprd proxy agent). Please follow the
appropriate one:
FOR SYSADMINS INSTALLING RLPR
=============================
on your machine, in the directory with the untarred rlpr distribution:
1. set the BINDIR and MANDIR variables in the Makefile to reflect your
system configuration.
2. change the PERM variable in the Makefile to be 4755
3. build the rlpr binary:
% make rlpr
4. su to root.
5. install the rlpr binary, and associated rlpr and rlprrc manpages:
# make install
Users can now use rlpr to print to machines running lpd from your
machine by running the rlpr client. They will need to configure rlpr
to know about the machine and printqueue they wish to print to -- this
information is available by reading rlpr(1) and README.
FOR CONVENTIONAL USERS INSTALLING RLPR
======================================
This setup is much more painful to get installed correctly, but no
more difficult to use once configured appropriately. This
configuration is intended for users who wish to print from a machine
they do not have root access on to another machine on their network
(probably the internet) -- please follow the instructions CLOSELY.
If you are installing rlpr this way, it is REQUIRED that you or
someone you know is running an rlprd proxy as root on some machine on
your network. If your network is the Internet, the closer the rlprd is
to you geographically, the better.
If the machine you wish to print _to_ is running UNIX and you have
root access on it, it is recommended you install a local rlprd.
In any case, the following is MANDATORY:
1. You must install the rlpr client on the machine you wish to
print from. Details on how to do this are below.
2. The machine you wish to print to must be configured to allow
connections from the machine running the rlprd proxy. under
UNIX, this usually involves editing the local machine's
/etc/hosts.lpd file.
If the proxy (the machine running the rlprd) is the same machine
as the final destination, you have to put an entry for your own
machine in the /etc/hosts.lpd
How to do this is beyond the scope of this documentation.
Note that anyone print to your printer if they know the proxy
you trust, your printer name and your hostname, This is because
the proxy trusts everyone, and traditional Bezerkeley lpd has
lame host-based security.
IF THIS BOTHERS YOU, DO NOT USE RLPR THIS WAY.
INSTALLING THE RLPR CLIENT ON THE MACHINE YOU WISH TO PRINT FROM (MANDATORY)
============================================================================
on that machine:
1. if you don't already have a private bin directory, create one:
% mkdir ~/bin
2. if you don't already have a private manpage directory, create one:
% mkdir ~/man
% pushd ~/man
% mkdir man1 man2 man3 man4 man5 man6 man7 man8 man9
% popd
3. add these to your environment, traditionally by editing your .login:
for csh or tcsh, do:
% touch ~/.login
% cat >> ~/.login
setenv PATH "~/bin:$PATH"
setenv MANPATH "~/man:$MANPATH"
^D
for sh or bash, do:
$ touch ~/.login
$ cat >> ~/.login
PATH="~/bin:$PATH"; export PATH
MANPATH="~/man:$MANPATH"; export MANPATH
^D
in the directory with the untarred rlpr distribution:
4. set the BINDIR and MANDIR variables in the Makefile to be ${HOME}/bin and
${HOME}/man respectively.
5. build the rlpr binary:
% make rlpr
6. install the rlpr binary, and associated rlpr and rlprrc manpages:
# make install
INSTALLING THE RLPRD PROXY ON A MACHINE YOU HAVE ROOT ACCESS ON (OPTIONAL)
==========================================================================
If you already know the IP address of a proxy agent, this step is not
required -- however, if you can install an rlprd proxy, it is
recommended since it will yield better performance.
If you do not need AND do not want to install a proxy, please proceed
to the README for how to get started with rlpr.
on your machine, in the directory with the untarred rlpr distribution:
1. set the BINDIR and MANDIR variables in the Makefile to reflect your
system configuration.
2. change the PERM variable in the Makefile to be 4755
3. build the rlprd binary:
% make rlprd
4. su to root.
5. install the rlprd binary, and associated rlprd manpage:
# make install-rlprd
proceed to the README for info on getting started